package org.nf.test;

import com.google.gson.Gson;
import org.nf.dao.StaffsDao;
import org.nf.dao.impl.StaffsDaoImpl;
import org.nf.entity.Staffs;

import java.util.List;

/**
 * @author zhu
 * @date 2024-03-06
 */
public class Select {
    public static void main(String[] args) {
        StaffsDao staffsDao = new StaffsDaoImpl();
        List<Staffs> list = staffsDao.select();

        System.out.println(new Gson().toJson(list));
    }
}
